package main

import (
	"fmt"
)

func f(name string) {
	for i := 0; i < 30; i++ {
		fmt.Println(name, ":", i)
	}
}

func main17() {
	f("direct")

	go f("goroutine")

	go func(name string) {
		for i := 0; i < 30; i++ {
			fmt.Println(name, ":", i)
		}
	}("going")

	var input string
	fmt.Scanln(&input)
	fmt.Println("done", input)
}
